<form action="<?php echo url_for('@login') ?>" method="post">
	<input type="hidden" name="sf_method" value="put" />
	<table style="width: 100%;">
		<?php echo $form; ?>
		<tr>
			<td colspan="2">
				<input type="submit" value="Login">
			</td>
		</tr>
	</table>
<form>